package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.BizInformation;
import com.ruoyi.system.mapper.BizInformationMapper;
import com.ruoyi.system.service.BizInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BizInformationServiceImpl implements BizInformationService {

    @Autowired
    private BizInformationMapper informationMapper;

    @Override
    public List<BizInformation> selectInformationList(BizInformation information) {
        return informationMapper.selectInformationList(information);
    }

    @Override
    public BizInformation selectInformationById(Long id) {
        return informationMapper.selectInformationById(id);
    }

    @Override
    public int insertInformation(BizInformation information) {
        return informationMapper.insertInformation(information);
    }

    @Override
    public int updateInformation(BizInformation information) {
        return informationMapper.updateInformation(information);
    }

    @Override
    public int deleteInformationById(Long id) {
        return informationMapper.deleteInformationById(id);
    }
}
